<?php

namespace App\Models;

use Illuminate\Database\Eloquent\Model;

class anote extends Model
{
    public $table = 'anote';

    public $primaryKey = 'id';

    public $timestamps = false;


    public function huser()
    {
        return $this->belongsTo('App\Models\huser','uid','id');
    }

    public function amodule()
    {
    	return $this->hasOne('App\Models\Amodule','id','cid');
    }
}
